local map = require('utils.vim').map

return {
    "goolord/alpha-nvim",
    get_config = get_config,
    config = function()
      local alpha = require("alpha")
      local config = require('helper.alpha').get_config()
      alpha.setup(config)

      map('n', '<M-q>', function()
            local bs = vim.g.divo_not_save_buffers
            if #bs > 0 then
                require('notify')('Modified buffer exists!')
                return
            end
            vim.cmd("Neotree close")
            alpha.start(false, config)
      end,{desc="show startify screen"})
    end,
}
-- EOP
